#!/user/bin/env nodejs-demo

const http = require('http');

const server = http.createServer();

server.on('request',(req,res)=>{
  res.end('hello world!');
});


server.listen(8080);

